package com.learning.javaweb_springboot_page_query.service;

import com.learning.javaweb_springboot_page_query.entity.Order;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {

    //单表，通过id查询用户
    public Order queryOrderById(Integer id);
    //单表，通过uid查询订单
    public List<Order> getOrdersByUid(int uid);
}
